#pragma once

#include <vector>
#include "ICondition.h"

class Node
{
public:
	Node									(char _id, bool _bValue = false);
	virtual					~Node			(void);

	void					AddCondition	(ICondition* _condition);
	void					SetValue		(bool _bValue);
	char					GetId			(void) const;
	bool					GetBoolean		(void) const;
	bool					DependsOn		(char nodeId) const;

private:
	char					m_id;
	bool					m_value;

	ConditionsVectorConst	m_conditions;
};
